//
//  PlayViewController.h
//  SBVideoCaptureDemo
//
//  Created by Pandara on 14-8-18.
//  Copyright (c) 2014年 Pandara. All rights reserved.
//

// 版权属于原作者
// http://code4app.com (cn) http://code4app.net (en)
// 发布代码于最专业的源码分享网站: Code4App.com

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>
#import "AsyncSocket.h"
#define SRV_CONNECTED 0
#define SRV_CONNECT_SUC 1
#define SRV_CONNECT_FAIL 2
#define HOST_IP @"192.168.30.168"
#define HOST_PORT 8000
#import "BMHUpBaseController.h"
@interface PlayViewController : BMHUpBaseController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil withVideoFileURL:(NSURL *)videoFileURL withTotalDur:(NSInteger)totalDur withAllComment:(NSInteger)allComment  withWidth:(float)width withHeight:(float)height name:(NSString *)name  withVidoInputUrlStr:(NSString *)urlPath withScreen:(NSString *)videScreen withactiveId:(NSString *)acID;
@property (nonatomic, strong)  UITextField *inputMsg;
@property (nonatomic, strong)  UILabel *outputMsg;
@property (nonatomic, assign)  BOOL weathNavbar;
@property (nonatomic, assign)  BOOL isMySelf;
@property (nonatomic, copy)    NSString * gcActivityID;

@property (nonatomic, assign) BOOL ComeFromEditVC;

- (int) connectServer: (NSString *) hostIP port:(int) hostPort;
- (void) showMessage:(NSString *) msg;
- (void) sendMsg;
- (void) textFieldDoneEditing:(id)sender;
- (void) backgroundTouch:(id)sender;

@end
